home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Reference Guide / C-C++ Interactive Reference Guide.iso / c_ref / clesson / c.dir / 00329_Bitmap_329 (.png) < prev    next >
Bitmap Image  |  1995-04-05  |  107KB  |  519x203  |  1-bit (2 colors)
Labels: text | font
OCR: The first argument to open( ) is a file name; the second argument specifies how the file is to be opened. If there are no errors, the function returns a file descriptor; otherwise, the value -1 is returned. The identifier in_fd is mnemonic for "in file descriptor." On our system, the symbolic constant O_RDONLY is given in fcntl.h. It is mnemonic for "open for reading only.'